In [1]:
# Load the PANOPTES module dir
import sys
sys.path.append('../../')
In [2]:
from pocs.focuser.birger import Focuser
In [3]:
port = '/dev/tty.USA49WG2P4.4'
In [4]:
f = Focuser(port=port)
In [5]:
f.is_connected
Out[5]:
In [6]:
f.position
Out[6]:
In [7]:
f.move_to(10000)
Out[7]:
In [8]:
f.position
Out[8]:
In [9]:
f.position = 7000
In [10]:
f.position
Out[10]:
In [11]:
f.move_by(-3000)
Out[11]:
In [12]:
f.position
Out[12]:
In [ ]: